package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.BaseBankBranchMapper;
import com.xyy.saas.payment.dao.model.BaseBankBranchInfo;
import com.xyy.saas.payment.service.BaseBankBranchService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BaseBankBranchServiceImpl implements BaseBankBranchService {
    @Resource
    private BaseBankBranchMapper baseBankBranchMapper;

    @Override
    public List<BaseBankBranchInfo> queryByName(String bankName, String bankBranchName) {
        return baseBankBranchMapper.queryByName(bankName, bankBranchName);
    }
}
